package com.bgds.sys.config.web;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @Author: lj
 * @Description: 获取当前服务器ip端口
 * @Date: 2020/7/7 11:35
 * @Version: 1.0
 */
@Component
public class ServerConfig {



    private static  final  String FILES="files";

    /**
     * 获取项目基路径
     *
     * @return
     */
    public String getUrl() {
      return   "/"+FILES;
    }



}